WDV221 Intro Javascript

Skill Test - Create and Display Javascript Objects

Product Inventory List

EXAMPLE OUTPUT

Number of Products in Product List: 1

Product: Standard Keyboard
Product Number: std-key
Product Wholesale Price: $11.90
Product Suggested Retail Price: $19.87

PROJECT OUTPUT

Number of Products in Product List ?

Instructions

  1. Attach the external script file as the source for your data
  2. Using the data provided in the external script file create an array of objects called productList using the object format in the script
  3. Use a loop to display the contents of the productList on the page beginning after the Example Output
  4. All prices should be displayed as USD formatted currency